-- GENERATED SPELL FOR [Deviate Viper] --


function spell0_5755(pUnit, Event) --@Localized Toxin,n/a--
pUnit:FullCastSpellOnTarget(7947,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5755', 0, 1)
end

function Sorts_5755(pUnit, Event)
local choix_sorts_5755 = math.random(0, 0)
if choix_sorts_5755 == 0 then
pUnit:RegisterEvent('spell0_5755', 1, 1)
end
end

function mob5755_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5755', math.random(1500, 3000), 1)
end

function mob5755_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5755_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5755_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5755, 1, 'mob5755_Action')
RegisterUnitEvent(5755, 2, 'mob5755_Leave')
RegisterUnitEvent(5755, 3, 'mob5755_Kill')
RegisterUnitEvent(5755, 4, 'mob5755_Die')
